package com.liarjo.my_website_api.security.pojo;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.liarjo.my_website_api.pojo.User;

import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface LoginMapper extends BaseMapper<User> {
    User selectUserByUsername(String userName);

    List<String> selectPermissionListByUserId(Long userId);

    User selectUserById(Long userId);
}
